package com.eims.sls_app.ui;

import com.eims.sls_app.fragment.FollowFragment;
import com.eims.sls_app.fragment.LiveScoresFragment;

import bls.juejin.cn.R;
import android.app.Activity;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;

public class FollowActivity extends MyFragmentActivity {
	private  FragmentTransaction transaction;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_follow2);
		transaction = getSupportFragmentManager().beginTransaction();
		transaction.add(R.id.follow_center, new FollowFragment()).commitAllowingStateLoss();
	}
	@Override
	public Resources getResources() {
		// TODO Auto-generated method stub
		Resources res = super.getResources();
		Configuration config = new Configuration();
		config.setToDefaults();
		res.updateConfiguration(config, res.getDisplayMetrics());
		return res;
	}
}
